<?php
session_start();

if (isset($_SESSION['ID'])) {
} else {
    echo "<script type='text/javascript'>";
    echo "window.location = '../index.php';";
    echo "</script>";
}

session_destroy();

echo "<script type='text/javascript'>";
echo "window.location = '../Novidades.php';";
echo "</script>";
